[submodule "lib/tool/admin"]
path = lib/tool/admin
url = git://git.autogeree.net/tool/admin
+[submodule "lib/tool/git/remote/gpg"]
+ path = lib/tool/git/remote/gpg
+ url = git://git.autogeree.net/tool/git/remote/gpg
+[submodule "sec"]
+ path = sec
+ url = gpg::rsync:ateliers.heureux-cyclage.org:/sec
--- /dev/null
+#!/bin/sh -eu
+# DESCRIPTION: update Git submodules
+# SYNTAX:
+
+# ACTION: initialize from ./
+ test -L "$0" && tool="$(readlink -e "$0")" || tool=$0
+ tool=$(readlink -e "${tool%/*}"/.)
+ root=$(readlink -e ${root-"${0%/*}"/.})
+# ACTION: update Git submodules
+ set -x
+ cd "$root"
+ git submodule update --init --recursive lib
+ PATH="$tool"/lib/tool/git/remote/gpg:"$PATH" \
+ GRG_keys="
+ @julm@heureux-cyclage.org,
+ @ludovic.chevalier@heureux-cyclage.org
+ " \
+ git submodule update --init --recursive sec